using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._DataManagementTools._FileGeodatabase
{
    /// <summary>
    /// <para>Uncompress File Geodatabase Data</para>
    /// <para>Uncompresses all the contents in a geodatabase, all the contents in a feature
    /// dataset, or an individual stand-alone feature class or table.</para>
    /// <para>解压缩地理数据库中的所有内容以及要素中的所有内容
    /// 数据集，或单个独立要素类或表。</para>
    /// </summary>    
    [DisplayName("Uncompress File Geodatabase Data")]
    public class UncompressFileGeodatabaseData : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public UncompressFileGeodatabaseData()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_data">
        /// <para>Input file geodatabase data</para>
        /// <para>The geodatabase, feature dataset, feature class, or table to uncompress.</para>
        /// <para>要解压缩的地理数据库、要素数据集、要素类或表。</para>
        /// </param>
        public UncompressFileGeodatabaseData(object _in_data)
        {
            this._in_data = _in_data;
        }
        public override string ToolboxName => "Data Management Tools";

        public override string ToolName => "Uncompress File Geodatabase Data";

        public override string CallName => "management.UncompressFileGeodatabaseData";

        public override List<string> AcceptEnvironments => ["workspace"];

        public override object[] ParameterInfo => [_in_data, _config_keyword, _out_data];

        /// <summary>
        /// <para>Input file geodatabase data</para>
        /// <para>The geodatabase, feature dataset, feature class, or table to uncompress.</para>
        /// <para>要解压缩的地理数据库、要素数据集、要素类或表。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input file geodatabase data")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_data { get; set; }


        /// <summary>
        /// <para>Configuration keyword</para>
        /// <para>The configuration keyword defining how the data will store once uncompressed</para>
        /// <para>配置关键字，定义数据解压缩后如何存储</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Configuration keyword")]
        [Description("")]
        [Option(OptionTypeEnum.optional)]
        public object _config_keyword { get; set; } = null;


        /// <summary>
        /// <para>Uncompressed Input Data</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Uncompressed Input Data")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _out_data { get; set; }


        public UncompressFileGeodatabaseData SetEnv(object workspace = null)
        {
            base.SetEnv(workspace: workspace);
            return this;
        }

    }

}